package com.zhang.facade.example;

/**
 * @author ElloeStudy(Sifa Zhang)
 * @create 2022-03-02 17:52
 * To: 真常应物，真常得性，常清常静，常清静矣
 */
public class ModenPostOffice {
    private LetterProcess letterProcess = new LetterProcessImpl();
    public void sendLetter(String context, String address){
        letterProcess.writeContext(context);
        letterProcess.fillEnvelope(address);
        letterProcess.letterInotoEnvelope();
        letterProcess.sendLetter();
    }
}
